package com.macro.mall.product.service;


import com.macro.mall.model.PmServerSpec;
import com.macro.mall.product.dto.PmServerSpecDto;

import java.util.List;


public interface PmServerSpecService {
    List<PmServerSpec> list(PmServerSpecDto serverSpecDto,boolean isNeedPic);
    List<PmServerSpecDto> converDataList(List<PmServerSpec> serverSpecList);
    List<PmServerSpec> listPage(int pageNum, int pageSize,PmServerSpecDto serverSpecDto,boolean isNeedPic);

    int save(PmServerSpecDto serverSpecDto);

    int delete(String serverSpecIds);

    PmServerSpec getById(Long id);
    PmServerSpecDto converDataInfo(PmServerSpec pmServerSpec);
}
